package org.jupiter.blog.authentic.utils;

public class AuthenticUtils {

	public static String getRedisKey(String prefix, String... suffixes) {
		if (suffixes == null || suffixes.length == 0) {
			return prefix;
		}
		StringBuilder sb = new StringBuilder(prefix);
		for (String suffix : suffixes) {
			if (suffix != null) {
				sb.append(suffix);
			}
		}
		return sb.toString();
	}

}
